Translation:

24. Verily We have sent thee in truth as a bearer of glad tidings and as a warner: and there never was a people without a warner having lived among them (in the past).

Notes (Tafseer)

3907. It is Allah Who sends the Revelation. While there is warning in it for the heedless, there is good news for those who listen and repent. The warning always came to all peoples before punishment.